import dev from "./build/dev";
import staging from "./build/staging";
import prod from "./build/prod";

let env = process.env.VUE_APP_ENV;

let config = {
  ID: "CloudMiddleBusiness",
  projectName: "威胁情报",
  env: env,
  ...dev,
};
if (env === "production") {
  config = {
    ...config,
    ...prod,
  };
} else if (env === "staging") {
  config = {
    ...config,
    ...staging,
  };
}
// 调试
//config.env = "staging"; // 打包改成 dev development staging production

console.log(process.env, config);

export default config;
